<template>
        <Select :label-in-value="true" @on-change="changeSelect" style="width:100px">
            <Option v-for="item in data" :value="item.userId" :key="item.userId">{{ item.userName }}</Option>
        </Select>
    </template>
<script>
    import configService from 'service/configService.js'
    export default {
        name: 'handler',
        props: {
            data: Array
        },
        data() {
            return {
                handlerOptionList: []
            }
        },

        methods: {
            changeSelect(currentOption) {
                //{value: "0270003", label: "ASR-徐欣言"}
                this.$emit('getHandlerData', currentOption)
            }
        }
    }
</script>